package com.llb666.shop.items.infrastructure.conver;

import com.llb666.shop.items.domain.entity.ItemsParam;
import com.llb666.shop.items.infrastructure.po.ItemsParamPo;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

/**
 * 商品参数类型转换器 po -- entity
 *
 * @author llb666
 */
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface ItemsParamCvt {
    ItemsParamCvt INSTANCE = Mappers.getMapper(ItemsParamCvt.class);

    ItemsParamPo do2po(ItemsParam itemsParam);

    ItemsParam po2do(ItemsParamPo itemsParamPo);
}
